package team.zero.lemon.module.sys.dao;

import org.apache.ibatis.annotations.Param;
import team.zero.lemon.common.persistence.ICrudDao;
import team.zero.lemon.common.persistence.annotation.MyBatisDao;
import team.zero.lemon.module.sys.entity.Job;

import java.util.List;

/**
 * Created by bolin on 2016/11/7.
 */
@MyBatisDao
public interface  IJobDao  extends ICrudDao<Job> {
    List<Job> findByUserId(@Param("userId") int userId);
    List<Job> findByParameter(Job job);
    List<Job> findJobTree( );

}